package com.yunyao.dao.service.system;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.User;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IUserService extends IService<User> {

    IPage<User> getDeptList(Long pageIndex, Long pageSize, String deptId, String realName, String account);

    List<User> listUserAdministrator();

    List<User> listByUserId(List<String> userIdList);

    String getRealNameByUserId(String userId);

    User getByIdNoDel(String id);

    User getByAccount(String account, String defaultTenantId);
}
